define([
  'jquery',
  'underscore',
  'backbone',
  'views/TopbarView',
  'routers/InternalRouter'
], function($, _, Backbone, TopbarView, InternalRouter){
  var init = function() {
    // First common initializations.
    // Topbar
    var topbar = new TopbarView();

    // Next get an instance of a router.
    var router = new InternalRouter();

    // Finally call backbone history start method.
    Backbone.history.start();
  };

  return {
    init: init
  };
});